package com.huiyun.project.im.core.dto;

import com.huiyun.project.im.entity.ImTenant;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * @FileName:
 * @Description:
 * @Author linjie
 * @Date 2020/7/2110:07 AM
 * @Version 4.0.0
 */
@Data
public class ImTenantMessageDto {
    @ApiModelProperty(value = "租户id")
    private  String  tenantId;
    @ApiModelProperty(value = "发送类型 0：使用租户id通知 1：系统通知，2：物流通知，3：优惠通知 ")
    private  Integer sendType;

    @ApiModelProperty(value = "发送客服id")
    private String   csUserId;


    @ApiModelProperty(value = "登录名 发送的用户对象,空时发送到该app下所有个人租户用户")
    private List<String> usernames;

    @ApiModelProperty(value = "发送的内容",required = true)
    @NotBlank
    private String content;

}
